package com.zbest.zpay.acctrans.dal.mapper;

import org.apache.ibatis.annotations.Param;

import com.zbest.zpay.acctrans.dal.model.AccountHold;

/**
 * Created by wenfeihu on 16/5/20.
 */
public interface AccountHoldMapper {

    public int insert(AccountHold accountHold);

    public int queryCntByHldNo(@Param("hldNo") String hldNo);

    public AccountHold queryHoldInf(@Param("hldNo") String hldNo);

    public AccountHold queryHoldInfForUpd(@Param("hldNo") String hldNo);

    public int updateBalByHldNo(@Param("hldSts") String hldSts,
                                @Param("hldBal") long hldBal,
                                @Param("hldNo") String hldNo);

}
